Drop some unnecessary variables
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Aug 2010 04:53:49 +0000 (00:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 17 Aug 2010 01:58:26 +0000 (21:58 -0400)
gtk/gtkbbox.c

index 3c7c400358538d0ce135a4f88ea23ccb15b85152..0fa2f6ea221895b651277e8b982d647622181e93 100644 (file)
@@ -413,10 +413,6 @@ _gtk_button_box_child_requisition (GtkWidget *widget,
   GtkRequisition child_requisition;
   gint ipad_w;
   gint ipad_h;
-  gint width_default;
-  gint height_default;
-  gint ipad_x_default;
-  gint ipad_y_default;
   gint child_min_width;
   gint child_min_height;
   gint ipad_x;
@@ -428,17 +424,12 @@ _gtk_button_box_child_requisition (GtkWidget *widget,
   priv = bbox->priv;
 
   gtk_widget_style_get (widget,
-                        "child-min-width", &width_default,
-                        "child-min-height", &height_default,
-                        "child-internal-pad-x", &ipad_x_default,
-                        "child-internal-pad-y", &ipad_y_default,
+                        "child-min-width", &child_min_width,
+                        "child-min-height", &child_min_height,
+                        "child-internal-pad-x", &ipad_x,
+                        "child-internal-pad-y", &ipad_y,
                         NULL);
 
-  child_min_width = width_default;
-  child_min_height = height_default;
-  ipad_x = ipad_x_default;
-  ipad_y = ipad_y_default;
-
   nchildren = 0;
   nsecondaries = 0;
   list = children = _gtk_box_get_children (GTK_BOX (bbox));